package com.ray.test;

public class MyRunable implements Runnable {
    public void run() {
        for (int i=0;i<100;i++){
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("---mythread"+i);
        }
    }
}
